/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package Records.Attributes;

import Records.Main.RecordsMain;

/**
 *
 * @author Alexander
 */
public class FeedDataValues {

    private final String Song_ID;
    private final String rssTitle;
    private final String rssBPM;
    private final String rssGenre;
    private final String Danceability;
    private final String Energy;
    private final String Acousticness;
    private final String rssKey;
    private String Location;
    private final String FilePathway;
    private final String PurchaseLink;
    private final String rssAlbum;
    private final String images;
    private final String rssArtist;

    public FeedDataValues(String Song_ID, String RssTitle, String bpms, String RssGenres, String Danceability, String Energy, String Acousticness, String theKeys, String Location, String FilePathway, String PurchaseLink, String albumTitles, String images, String musicians) {
        this.Song_ID = Song_ID;
        this.rssTitle = RssTitle;
        this.rssBPM = bpms;
        this.rssGenre = RssGenres;
        this.Danceability = Danceability;
        this.Energy = Energy;
        this.Acousticness = Acousticness;
        this.rssKey = theKeys;
        this.Location = Location;
        this.FilePathway = FilePathway;
        this.PurchaseLink = PurchaseLink;
        this.rssAlbum = albumTitles;
        this.images = images;
        this.rssArtist = musicians;
    }

    public void insertFeedData() {
        System.out.println("FeedDataValues.insertFeedData()");
        RecordsMain.dba.insertIntoSongs(getSong_ID(), getRssTitle(), getBpms(), getRssGenres(), getDanceability(), getEnergy(), getAcousticness(), getTheKeys(), getLocation(), getFilePathway(), getPurchaseLink());
        RecordsMain.dba.insertIntoAlbums(getSong_ID(), getAlbumTitles(), getImages());
        RecordsMain.dba.insertIntoArtists(getSong_ID(), getMusicians());
    }

    /**
     * @return the Song_ID
     */
    public String getSong_ID() {
        return Song_ID;
    }

    /**
     * @return the RssTitle
     */
    public String getRssTitle() {
        return rssTitle;
    }

    /**
     * @return the bpms
     */
    public String getBpms() {
        return rssBPM;
    }

    /**
     * @return the RssGenres
     */
    public String getRssGenres() {
        return rssGenre;
    }

    /**
     * @return the Danceability
     */
    public String getDanceability() {
        return Danceability;
    }

    /**
     * @return the Energy
     */
    public String getEnergy() {
        return Energy;
    }

    /**
     * @return the Acousticness
     */
    public String getAcousticness() {
        return Acousticness;
    }

    /**
     * @return the theKeys
     */
    public String getTheKeys() {
        return rssKey;
    }

    /**
     * @return the Location
     */
    public String getLocation() {
        return Location;
    }

    /**
     * @return the FilePathway
     */
    public String getFilePathway() {
        return FilePathway;
    }

    /**
     * @return the PurchaseLink
     */
    public String getPurchaseLink() {
        return PurchaseLink;
    }

    /**
     * @return the albumTitles
     */
    public String getAlbumTitles() {
        return rssAlbum;
    }

    /**
     * @return the images
     */
    public String getImages() {
        return images;
    }

    /**
     * @return the musicians
     */
    public String getMusicians() {
        return rssArtist;
    }

    /**
     * @param Location the Location to set
     */
    public void setLocation(String Location) {
        this.Location = Location;
    }
}
